﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Universum.Model.Domain.Classes;

namespace Universum.Model.Services.Classes
{
	public interface IPageArticleService
	{
		IList<Universum.Model.Domain.Classes.PageArticle> GetArticlesByPageGroupId(Guid guid);

		Universum.Model.Domain.Classes.PageArticle CreateNew();

		void SaveOrUpdate(PageArticle newArticle);

		PageArticle GetArticleBySlug(string slug);

		PageArticle GetArticleById(Guid guid);

		void Remove(PageArticle entity);

		void RemoveByPageGroupId(Guid guid);

		IList<PageArticle> GetPublishedArticlesByPageGroupId(Guid guid);
	}
}
